{include file="default/header.tpl"}
			<h1>Make New Paste</h1>
			
			{if $page_name == "Home Page"}
			<p>Please paste your code below, you may also post along with some notes, which could include what the code does or any
			errors that your encounter whilst running your code. The only mandatory field is that of the code. Once you post your code
			you will be given a link that you can give to others.</p>
			{/if}
			
			<p>Only the code field is required below</p>
			
			<div class="pastearea">
				<form action="paste.php" method="post">
					<table class="theform">
						<tr class="formrow">
							<td class="tdfield">Name:</td>
							<td class="tdval"><input size="50" type="text" name="name" /></td>
						</tr>
						<tr class="formrow">
							<td class="tdfield">Script Name:</td>
							<td class="tdval"><input size="50" type="text" name="scriptn" /></td>
						</tr>
						<tr class="formrow">
							<td class="tdfield">Short Description:</td>
							<td class="tdval"><input size="75" type="text" name="description" /></td>
						</tr>
						<tr class="formrow">
							<td class="tdfield">Language:</td>
							<td class="tdval">
								<select name="lang">
									<option value="glua">==== Popular languages ====</option>
								{foreach from=$top_langs key=key item=lang}
	<option value="{$lang.lang}"{if $key == 0} selected="selected"{/if}>{$lang_names[$lang.lang]}</option>
								{/foreach}
									<option value="glua">==== All languages ====</option>
								{foreach from=$language_list key=key item=lang}
	<option value="{$lang}">{$lang_names[$lang]}</option>
								{/foreach}
								</select>
							</td>
						</tr>
						<tr class="formrow">
							<td class="tdfield">Code:</td>
							<td class="tdval"><textarea name="code" rows="10" cols="75"></textarea></td>
						</tr>
						<tr class="formrow">
							<td class="tdfield">Notes:<br /><span style="color: #AA0000; font-size: 8pt;">Use this to add additional notes or errors.</span></td>
							<td class="tdval"><textarea name="notes" rows="3" cols="75"></textarea></td>
						</tr>
						<tr class="formrow">
							<td class="tdfield">Keep For:</td>
							<td class="tdval">
								<select name="days">
									<option value="0">Forever</option>
									<option value="1">1 Day</option>
									<option value="7" selected="selected">7 Days</option>
									<option value="30">30 Days</option>
								</select>
							</td>
						</tr>
						<tr class="formrow">
							<td>&nbsp;</td>
							<td class="tdval" style="padding-top: 10px"><input type="submit" value="Paste Code" /></td>
						</tr>
					</table>
				</form>
			</div>
{include file="default/footer.tpl"}